package Test1;

import javax.swing.JOptionPane;

public class InputString {

	  public static void main(String[] args) { 
		   
		  String input = JOptionPane.showInputDialog("what is the date?");
		  int date = Integer.parseInt(input);
		  
		  String inpust = JOptionPane.showInputDialog("what is the date?");
		  int dates = Integer.parseInt(inpust);
		  
		  System.out.println(date+dates);
		  
		  System.exit(0);
	   }
	}
